﻿@page "/"

<PageTitle>Index</PageTitle>


@inject UserManager<User> UserManager


<table class="table table-hover">
    <thead>
        <tr>
            <th>Id</th>
            <th>用户名</th>
            <th>邮箱</th>
            <th>生日</th>
            <th>职业</th>
        </tr>
    </thead>
    <tbody>
        @foreach (var item in UserManager.Users.ToList())
        {
            <tr>
                <td>@item.Id</td>
                <td>@item.UserName</td>
                <td>@item.Email</td>
                <td>@item.Birthday</td>
                <td>@item.Occupation</td>
            </tr>
        }
    </tbody>
</table>